home *** CD-ROM | disk | FTP | other *** search
Wrap
TKpathname XFCN No. 4407 Version: 5.0 (public domain) Copyright © 1990 - 1994 by Stan Gilbert _____________________________________________________ TKpathname returns variations of a full pathname. It can return the full pathname, leafname (just the filename), volume name, or the full pathname of an "added" filename. This is a very powerful XFCN and its use is not always obvious. For instance, it can be used to add a stack to the "stacksinuse" hierarchy.                          ∂ Examples ÓÊget TKpathName("add","Drawings:MacPaint:") ÊÊ›get TKpathName("leaf",fileName) ÊÊ›get TKpathName("vol") ÊÊ›get TKpathName("full") Parameters Parameter 1 These commands are mutually exclusive add: Append addName (parameter 2) to the pathname of the   current stack leaf: Return only last name (leaf or filename) of full pathname vol: Return only volume name of current stack full: Return entire pathname, excluding stackname home: Return full path and stackname of Home stack Parameter 2 name: Nameflfor use only with "add" or "leaf". Return Values get TKpathname(short name of this stack) Returns the full pathname of the current stack. A pathname does NOT include the name of the stack itself. Related Topics ÓÊTKgetFile °°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°